﻿@model IEnumerable<RedSand.Site.Models.ActionInfo>
<script type="text/javascript">
    $(function () {
        $("div#navigation ul li a, div#navigation ul li span")
	    .bind('click', function (event) {
	        if ($(this).next('ul').size() !== 0) {
	            $(this).next('ul').slideToggle('fast', function () {
	                $(this).toggleClass('closed');
	            });
	            event.preventDefault();
	        }
	    });
        $("div#navigation ul li a").click(function () {
            $("div#navigation ul li a.active").removeClass('active');
            $(this).addClass('active');
        });
        $("div#navigation ul li a[href*='" + location.pathname + "']").addClass('active');
    });
</script>
<div id="navigation">
    <ul>
        <li><a class="rs-icon-24 icon-rss" href="#">@Html.Translate("NewsManager","News")</a>
            <ul>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/category/manager/1">@Html.Translate("NewsCategory", "News")</a></li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/news/manager">@Html.Translate("NewsManager","News")</a></li>
            </ul>
        </li>
        <li><a class="rs-icon-24 icon-word-documents" href="#">@Html.Translate("GuideManager", "Guide")</a>
            <ul>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/category/manager/2">@Html.Translate("GuideCategory","Guide")</a></li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/guide/manager">@Html.Translate("GuideManager", "Guide")</a></li>
            </ul>
        </li>
        <li><a class="rs-icon-24 icon-single-document" href="#">@Html.Translate("Faq", "FAQ")</a>
            <ul>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/faq/manager">@Html.Translate("FaqManager", "FAQ")</a> </li>
            </ul>
        </li>
        <li><a class="rs-icon-24 icon-single-document" href="#">@Html.Translate("Request", "Request")</a>
            <ul>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/request/manager">@Html.Translate("RequestManager", "Request")</a> </li>
            </ul>
        </li>
        <li><a class="rs-icon-24 icon-multiple-users" href="#">Cấu hình quản trị</a>
            <ul>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/action/manager">Quản lý admin menu</a></li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/account/manager">Quản lý người dùng</a></li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/role/manager">Quản lý nhóm người dùng</a></li>
            </ul>
        </li>
        <li><a class="rs-icon-24 icon-cog-3" href="#">Quản trị khác</a>
            <ul>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/slide/manager">Quản lý slideshow</a> </li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/support/manager">Quản lý hỗ trợ trực tuyến</a></li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/schedule/manager">Quản trị thời khóa biểu</a></li>
                <li><a href="/@RedSand.Web.Language.RsLanguage.LanguageCode/registry/manager">Thiết lập khác</a> </li>
            </ul>
        </li>
    </ul>
</div>
